using Newtonsoft.Json;

namespace QNLua.CommonData
{
    public class GotoLocationParams : LuaCommonDataParams
    {
		[JsonProperty("x")]
		public int X { get; set; }

		[JsonProperty("y")]
		public int Y { get; set; }

		[JsonProperty("completeEvent")]
		public EventOption? CompleteEvent { get; set; }

		[JsonProperty("errorEvent")]
		public EventOption? ErrorEvent { get; set; }

		[JsonProperty("completeAction")]
		public QNActionOption? CompleteAction { get; set; }

		[JsonProperty("errAction")]
		public QNActionOption? ErrAction { get; set; }
    }
}
